#include "chart.h"

Chart::Chart(QWidget *parent)
	: QWidget(parent)
{
	ui.setupUi(this);
	this->_buildSymptomUI();
}

void Chart::_buildSymptomUI()
{
	this->scrollArea = new QScrollArea(ui.tab_2);
	this->scrollArea->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
	//QWidget* widget = new QWidget();
	//this->scrollArea->setWidget(widget);
	this->mainLayout = new QVBoxLayout(scrollArea);
	this->symptomBuilder = new SymptomBuilder(this->mainLayout,"Constitutional",QStringList("proba1"));
}

Chart::~Chart()
{

}
